<%-- 
    Document   : Home
    Created on : May 7, 2011, 9:13:01 AM
    Author     : pvhuy
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@taglib  prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

 <a href="simpleReport.pdf">Pre-Compiled Report File</a>
<div style="padding-top:10px; padding-left:10px; clear:both;" >
    <div id="introduceHeader" style="width:auto;border-bottom:#d6d6d6 1px dotted;" >
        <h3 >MINH KHAI GIỚI THIỆU</h3>
    </div>
    <div style="background-color:#f4efef;width:auto; padding-bottom:3px; padding-top:2px; height:16px" >
        <table width="100%">
            <tr>
                <td>
                    <span class="linkitem" style="cursor:pointer;padding-right:4px">
                        <a href="TimKiemSanPham.htm?bookKind=2">Sách mới</a> |
                        <a href="TimKiemSanPham.htm?bookKind=0">Tủ sách Minh Khai</a> |
                        <a href="TimKiemSanPham.htm?bookKind=1">Bán chạy</a>  |
                        <a href="#" title="Bộ sách tương tác trực quan do nhà sách Minh Khai xuất bản"><b>Video Book</b></a><span style="color:red"> Mới!
                        </span>
                    </span>

                </td><td align="right"><span class="linkAds" style=" padding-right:10px;">

                        <a href="http://minhkhai.vn/store/index.aspx?q=view&isbn=210121">1 </a> |

                        <a href="http://minhkhai.vn/store/index.aspx?q=view&isbn=5102262241339">2 </a> |

                        <a href="http://minhkhai.vn/store/index.aspx?q=view&isbn=8934994057769">3 </a> |

                    </span>
                </td>
            </tr>
        </table>
    </div>
    <script type="text/javascript" >maxSlides=3</script>

    <div id="slideshow" style="padding-left:20px; padding-top:10px; cursor:pointer">
        <a href="http://minhkhai.vn/store/index.aspx?q=view&isbn=210121"><img src="images/210121.jpg" /> </a>
        <a href="http://minhkhai.vn/store/index.aspx?q=view&isbn=5102262241339"><img src="images/5102262241339.jpg" /> </a>
        <a href="http://minhkhai.vn/store/index.aspx?q=view&isbn=8934994057769"><img src="images/8934994057769.jpg" /> </a>
    </div>
</div>

<div style="padding-top:10px; padding-left:10px; clear:both; height:auto">
    <div id="listHeader" style="cursor:pointer;width:auto;border-bottom:#d6d6d6 1px dotted;" >
        <h3>DANH MỤC</h3>
    </div>
    <div style="background-color:#f4efef;width:auto; padding-bottom:3px; padding-top:2px; height:16px" >
        <table width="100%" class="linkitem" id="danhMuc">
            <tr>
                <td>
                    Tổng số <span style="color:black">91</span> mục tìm thấy.
                </td>
                <td align="right">
                    <a href="TimKiemSanPham.htm?bookKind=2"> Xem tiếp <b>&#187;</b></a>
                </td>
            </tr>
        </table>
    </div>
    <c:if test="${!empty(listSanPham)}">
        <table width="100%">
            <c:forEach var="sanPham" items="${listSanPham}" varStatus="item" >
                <c:if test="${(item.count mod 3) == 1}">
                    <tr>
                    </c:if>
                    <td style="padding-top:10px; cursor:pointer" align="center" valign="top">
                        <img alt=""  src="${sanPham.hinhAnhMinhHoa}" class="frameLarge"/><br/><br/>
                        <a href='GioHang.htm?action=Them&ISBN=${sanPham.ISBN}'>
                            <img alt=""  src="images/buynow.jpg" style="cursor: pointer"/>
                        </a>
                        <br />
                        <span class="linkitem" >
                            <a href="ChiTietSanPham.htm?ISBN=${sanPham.ISBN}">
                                <b>${sanPham.tenSanPham}</b>
                            </a><br />
                        </span>
                        <b>ISBN</b>: ${sanPham.ISBN} <br />
                        Tác giả: <a href="#" >${sanPham.tenTacGia}</a><br/>
                        Ngày xuất bản: ${sanPham.ngayXuatBan}<br/>
                        <b>Giá bán</b>: <span style="color:#8a3c3d; font-size:medium; font-weight:bold">${sanPham.giaBanHienTai} đ</span>
                    </td>
                    <c:if test="${(item.count mod 3) == 0}">
                    </tr>
                </c:if>
            </c:forEach>
        </table>
    </c:if>
</div>